package com.example.scheduler.repository;

import com.example.scheduler.entity.TaskConfig;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TaskConfigRepository extends JpaRepository<TaskConfig, Integer> {
    List<TaskConfig> findByEnabled(String enabled);
    TaskConfig findByTaskName(String taskName);
}